package oa.dao;

import java.util.List;

import oa.entity.Company;
import oa.exception.DaoException;

public interface CompanyDao {
	boolean addCompany(Company company) throws DaoException;//添加
	List<Company> selectAllCompany(int companyid) throws DaoException;//查询全部
	List<Company> selectCompany(int companyId) throws DaoException;//根据id查询
	boolean updateCompany(Company company) throws DaoException;//更新信息
	boolean deleteCompany(int companyId) throws DaoException;//删除
}
